package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.SetMiYaoPresenter;
import com.ttai.ui.activity.SetMiyao;

import dagger.Module;
import dagger.Provides;

@Module
public class SetMiYaoPresenterModule {
    SetMiyao setMiyao;

    public SetMiYaoPresenterModule(SetMiyao setMiyao) {
        this.setMiyao = setMiyao;
    }
    @Provides
    SetMiYaoPresenter provideSetMiYaoPresenter(){
        return new SetMiYaoPresenter(setMiyao);
    }
}
